package interfaceDao;

import essenceClasses.Task;

import java.sql.SQLException;
import java.sql.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 01.06.14
 * Time: 10:38
 * To change this template use File | Settings | File Templates.
 */
public interface ITaskDao {

    public List<Task> getAllTasks() throws SQLException;

    public boolean addTask(String title, String description, int priority, java.sql.Date createDate, java.sql.Date startDate, java.sql.Date endDate) throws SQLException;

}
